package com.ccrfid.rmc6.service.poi;

import com.ccrfid.rmc6.appconfig.exception.pojo.AppException;
import com.ccrfid.rmc6.entity.poi.PoiLineEntity;

import java.util.List;

public interface PoiLineService {
    //1.获取全部隔离线
    List<PoiLineEntity> getAllLines(Integer floorNumber);

    //2.获取某个隔离线
    PoiLineEntity getLineById(Long id) throws AppException;

    //3.新增隔离线
    PoiLineEntity createLine(PoiLineEntity entity) throws AppException;

    //4.修改隔离线
    PoiLineEntity updateLine(Long id, PoiLineEntity entity) throws AppException;

    //5.删除隔离线
    boolean deleteLineById(Long id) throws AppException;
}
